/**
 *  Конфигурируем Dojo
 */
//var djConfig = {
//    isDebug:false,
//    parseOnLoad:true
//};

/**
 * Прописываем пути к библиотекам Dojo
 */
// Instead of using data-dojo-config, we’re creating a dojoConfig object
// *before* we load dojo.js; they’re functionally identical.
var dojoConfig = {
    async: true,
    parseOnLoad: false,
    isDebug: false,
    baseUrl: "/public/javascripts/",
    tlmSiblingOfDojo: false,
    // This code registers the correct location of the "demo" package
    // so we can load Dojo from the CDN whilst still being able to
    // load local modules location.pathname.replace(/\/[^/]+$/, '')
    packages: [
        { name: "dojo", location: "dojo-release-1.7.2/dojo" },
        { name: "dijit", location: "dojo-release-1.7.2/dijit" },
        { name: "dojox", location: "dojo-release-1.7.2/dojox" }
    ]
};
console.log(location.pathname);